package com.icss.flow.pojo.dto;

import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.icss.flow.config.BooleanToIntJsonDeserializer;
import lombok.Data;

/**
 * @author WZG
 * @date 2024年04月09日 16:02
 */
@Data
public class TMetaFieldCreateDto {
    private String name;

    private String label;

    @JsonDeserialize(using = BooleanToIntJsonDeserializer.class)
    private Integer defaultMemberOfListFlag;

    private String type;

    @JsonDeserialize(using = BooleanToIntJsonDeserializer.class)
    private Integer nullable;

    @JsonDeserialize(using = BooleanToIntJsonDeserializer.class)
    private Integer creatable;

    @JsonDeserialize(using = BooleanToIntJsonDeserializer.class)
    private Integer updatable;
}
